package com.ruoyi.asset.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆登记对象 property_vehicle
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class PropertyVehicle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆ID */
    private Long vehicleId;

    /** 关联用户 */
    @Excel(name = "关联用户")
    private Long userId;

    /** 关联车位 */
    @Excel(name = "关联车位")
    private Long parkingId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String plateNo;

    /** 类型：CAR/MOTORCYCLE */
    @Excel(name = "类型：CAR/MOTORCYCLE")
    private String vehicleType;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 登记时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "登记时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerTime;

    /** 状态：VALID/INVALID */
    @Excel(name = "状态：VALID/INVALID")
    private String status;

    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setParkingId(Long parkingId) 
    {
        this.parkingId = parkingId;
    }

    public Long getParkingId() 
    {
        return parkingId;
    }

    public void setPlateNo(String plateNo) 
    {
        this.plateNo = plateNo;
    }

    public String getPlateNo() 
    {
        return plateNo;
    }

    public void setVehicleType(String vehicleType) 
    {
        this.vehicleType = vehicleType;
    }

    public String getVehicleType() 
    {
        return vehicleType;
    }

    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }

    public void setRegisterTime(Date registerTime) 
    {
        this.registerTime = registerTime;
    }

    public Date getRegisterTime() 
    {
        return registerTime;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vehicleId", getVehicleId())
            .append("userId", getUserId())
            .append("parkingId", getParkingId())
            .append("plateNo", getPlateNo())
            .append("vehicleType", getVehicleType())
            .append("brand", getBrand())
            .append("registerTime", getRegisterTime())
            .append("status", getStatus())
            .toString();
    }
}
